package cn.jianyongjie.basic.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
* @Description: 查询总条数和分页数据类
* @Author: Jian Yong Jie
* @Version: 1.0
* @Date:  2022/4/22 9:59
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryResult<T> {

    private Long total = 0L;

    private List<T> rows;

}
